#ifndef CSUCCESSORSEARCHER_H
#define CSUCCESSORSEARCHER_H

#include "astar/ISuccesssorSearcher.h"
#include <vector>

class CSuccessorSearcher : public ISuccesssorSearcher
{
public:
   CSuccessorSearcher();
   virtual ~CSuccessorSearcher();

   virtual bool getNext(const key & k, TIReceiver<key> & receiver);

private:
   void add(TIReceiver<key> & receiver, int iX, int iY) const;

private:
   int mXBound;
   int mYBound;
};

#endif//CSUCCESSORSEARCHER_H